package edu.guet.server.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.guet.server.mapper.TestQuestionMapper;
import edu.guet.server.model.TestQuestion;
import edu.guet.server.utils.ResultAPI;

@Service
public class TestQuestionService {
    @Autowired
    TestQuestionMapper testQuestionMapper;

    public ResultAPI setTestQuestion(TestQuestion testQuestion) {
        testQuestionMapper.setTestQuestion(testQuestion);
        return ResultAPI.success(testQuestion, "设置测试问题成功");
    }
}
